﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site/Master/Main.Master" AutoEventWireup="true" CodeBehind="MemberFavorite.aspx.cs" Inherits="ECommerce.Web.Site.MemberFavorite" %>
<%@ Register src="controls/UserCenterDir.ascx" tagname="UserCenterDir" tagprefix="uc1" %>
<%@ Register src="controls/SaleRank.ascx" tagname="SaleRank" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="styles/member.css" rel="stylesheet" type="text/css" />

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 
    <div id="main">
        <div class="mainleft">
             <uc1:UserCenterDir ID="UserCenterDir1" runat="server" />
           <uc2:SaleRank ID="SaleRank1" runat="server" />
        </div>
        <div class="mainright">
            <div class="membertit">
                您的位置：网站首页 > 会员中心
            </div>
            <div class="memberfour">
                <div class="memhead weight">
                    我的收藏
                </div>
                <div class="memslist">
                    <ul>
                        <li class="title"><span class="one">商品图片</span><span class="two">名称</span><span class="three">原价</span>
                            <span class="four">现价</span><span class="five">购买产品</span><span class="six">删除收藏</span>
                        </li>
                        <asp:Repeater ID="rpt" runat="server" onitemcommand="rpt_ItemCommand">
                            <ItemTemplate>
                                <li class="content"><span class="one">
                                    <a href='ProductDetail.aspx?ProductID=<%#Eval("ID") %>'><img src='<%#Jzy.Core.Common.Basic.GlobalVar.WebAppPath + Eval("SmallImage") %>' style="width:62px; height:62px" border="0" /></a></span><span class="two"><a href='ProductDetail.aspx?ProductID=<%#Eval("ID") %>'> <%#Eval("Name") %></a></span><span class="three"><%#Eval("OldPrice","{0:c2}")%></span>
                                    <span class="four"><%#Eval("CurrentPrice","{0:c2}") %></span><span class="five"><a href='ProductDetail.aspx?ProductID=<%#Eval("ID") %>'>放入购物车</a></span><span class="six"><asp:LinkButton
                                            ID="btnDelete" CommandName="Delete" runat="server" CommandArgument='<%#Eval("ID") %>' OnClientClick="return confirm('确认删除')">删除该收藏</asp:LinkButton></span>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    
</asp:Content>
